<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="../../js/ren_shan_qi/jquery-1.11.3.js"></script>
  <style>
    body {
      min-width: 1200px;
      background-color: #f4f4f4;
    }

    * {
      margin: 0;
      padding: 0;
      /* border: 1px solid red; */
    }

    .box {
      background-color: #ffffff;
      width: calc(100% - 60px);
      height: 100%;
      margin: 30px;
    }

    .a {
      width: 100%;
      height: 60px;
      display: flex;
      align-items: center;

    }

    .a3 {
      margin-left: 100px;
    }

    .a3>select {
      width: 100px;
    }

    .b {
      width: 25%;
      transition: all 1s linear;

    }

    .b>div {
      display: flex;
      justify-content: flex-end;
      color: #666666;
      margin: 10px 0;
    }

    .c {
      display: flex;
    }

    .c>div {
      margin: 20px;
    }

    .d {
      display: flex;
    }

    .d>div {
      margin: 5px 10px;
    }

    .e {
      display: flex;
      margin: 20px 20px;
    }

    .e>div {
      margin: 20px 20px;
    }

    .e>div button {
      width: 90px;
      height: 30px;
    }
  </style>
</head>

<body>
  <div class="box">
    <div class="a">
      <div class="a1">*贸易类型:</div>
      <div class="a2"> &nbsp;&nbsp;<input type="radio" name="a" value="1">一般贸易 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="radio" name="a" value="2">保税备货
      </div>
      <div class="a3"> *国家 <select></select></div>
    </div>
    <div class="b">
      <div>
        *关税税率(%)<input type="text">
      </div>
      <div>
        *消费税率(%)<input type="text">
      </div>
      <div>*增值税率(%)<input type="text">
      </div>
      <div>
        *商品备案名称 <input type="text">
      </div>
      <div>
        *商品备案价格 <input type="text">
      </div>
    </div>
    <div class="c">
      <div>商品标签</div>
      <div><input type="checkbox">xxxx</div>
      <div><input type="checkbox">xxxx</div>
      <div><input type="checkbox">xxxx</div>
      <div><input type="checkbox">xxxx</div>
    </div>
    <div class="d">
      <div class="d1">
        *是否显示在活动专区中
      </div>
      <div class="d2"><input type="radio" name="a">是 </div>
      <div class="d3"><input type="radio" name="a">否 </div>
    </div>
    <div class="d">
      <div class="d1">
        *是否显示在每日上新中
      </div>
      <div class="d2"><input type="radio" name="a1">是 </div>
      <div class="d3"><input type="radio" name="a1">否 </div>
    </div>
    <div class="d">
      <div class="d1">
        *是否上架
      </div>
      <div class="d2"><input type="radio" name="a2">立即上架 </div>
      <div class="d3"><input type="radio" name="a2">下架 </div>
    </div>
    <div class="e">
      <div class="e1"> <a href="./chanpin.html"><button>上一步</button></a></div>
      <div class="e2"> <a href="./guabli.html"><button>提交</button></a></div>
    </div>
  </div>
  <script>
    $('.a2>input').change(
      function () {
        let a = $('input[name=a]:checked').val()
        if (a == 2) {
          $('.b').css('opacity', '1')
        } else {
          $('.b').css('opacity', '0')
        }
      }
    )
  </script>
</body>

</html>